<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Electron + Vite + Vue 3</title>
  </head>

  <body>
    <div id="app"></div>
    <script type="module" src="/main.ts"></script>
    <script>
      if (process && process.env.NODE_ENV === 'development') {
        window.__static = `http://localhost:${process.env.PORT}`
      } else {
        window.__static = __dirname
      }
    </script>
  </body>
</html>
